package config

import (
	"yunj/pkg/yunj/core/consts"
)

// 系统设置
// 修改配置后续重启应用
var Setting = map[string]any{
	"groups": []map[string]any{
		{
			"key":   "sys",
			"title": "系统设置",
			"icon":  "layui-icon-set",
			"form": map[string]any{
				"field_default": map[string]any{
					"title":            "云静Admin（go）",
					"keywords":         "云静Admin,后台,yunj,admin,go,golang",
					"description":      "云静Admin（go）",
					"favicon":          "/favicon.ico",
					"default_img":      consts.IMG_URI,
					"upload_img_ext":   "jpg,jpeg,png,gif,bmp,webp,svg,ico",
					"upload_img_size":  1,
					"upload_file_ext":  "pdf,txt,rtf,csv,doc,xls,ppt,docx,xlsx,pptx,mp3,wav,ogg,oga,flac,mp4,mov,avi",
					"upload_file_size": 5,
				},
			},
		},
	},
}
